#include <QApplication>
#include "MainWindow.h"
#include "CustomWindow.h"
#include "WindowTitleBar.h"
#include "WindowFrame.h"

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);
	CustomWindow w;
	MainWindow m;
	w.attachWidget(&m);
	w.attachTitleBar(new WindowTitleBar());
	w.attachFrame(new WindowFrame(FrameLeft));
	w.attachFrame(new WindowFrame(FrameRight));
	w.attachFrame(new WindowFrame(FrameBottom));
	w.show();
	
	return a.exec();
}
